<?php

namespace app\admin\validate;
use think\Validate;

class sku extends Validate
{
    protected $rule = [
        'usdt_price'        	=> 'require|float',
        'static_price'        	=> 'require|float',
        'manage_price'        	=> 'require|float',
    ];

    protected $message = [
        'usdt_price.require'   		=> 'USDT不能为空',
        'usdt_price.float'         	=> 'USDT金额不合法',
        'static_price.require'   	=> 'STATIC不能为空',
        'static_price.float'        => 'STATIC金额不合法',
        'manage_price.require'   	=> 'MANAGE不能为空',
        'manage_price.float'        => 'MANAGE金额不合法',
    ];
}
